//
//  MKTFuncItem.h
//  MKUITestApp
//
//  Created by sushangjin on 2020/6/1.
//  Copyright © 2020 sushangjin. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN

@interface MKTFuncItem : NSObject
@property(nonatomic,strong) NSString *name;
@property(nonatomic,strong,nullable) UIImage *iconImage;
@property(nonatomic,strong,nullable) UIImage *selectedIconImage;
@property(nonatomic,assign) Class viewControllerClass;
+ (id)funcWithName:(NSString *)name iconImage:(UIImage *)iconImage viewControllerClass:(Class)viewControllerClass;
+ (id)funcWithName:(NSString *)name viewControllerClass:(Class)viewControllerClass;
- (nullable UIViewController *)createViewController;
@end

@interface UITabBarItem(MKTFuncItem)
- (void)test_setValueWithFuncItem:(MKTFuncItem *)item;
@end

NS_ASSUME_NONNULL_END
